package com.zn.service.impl;

import com.zn.entity.AppIcon;
import com.zn.mapper.AppIconMapper;
import com.zn.service.AppIconService;
import com.zn.web.dto.AppCustomerDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppIconServiceImpl implements AppIconService {

    @Autowired
    private AppIconMapper appIconMapper;

    @Override
    public List<AppIcon> findAll() {
        return appIconMapper.findAll();
    }

    @Override
    public List<AppIcon> findAppIconByCode(AppCustomerDto appCustomerDto) {
        return appIconMapper.findAppIconByCode(appCustomerDto);
    }
}
